package main.social.service;

import java.util.List;
import java.util.Map;

import main.social.entities.Entrys;

public interface EntryService {

	public Map<String, Object> getWeeklyEntrys();
	
	@SuppressWarnings("rawtypes")
	public List getWeeklyMostView();
	@SuppressWarnings("rawtypes")
	public List getWeeklyMostViewByCatalog(String catalog);
	@SuppressWarnings("rawtypes")
	public List getNewestEntrys();
	@SuppressWarnings("rawtypes")
	public List getNewestEntrysByUser(String username);
	public Map<String, Object> getUserEntrysGroupByCatalog(String username);
	@SuppressWarnings("rawtypes")
	public List getUserEntrysByCatalog(String username, String catalog);
	public Entrys insertEntry(String username);
	public Entrys increaseView(String uuid);
	public Entrys getEntryByUuid(String uuid);
	public boolean postComment(String username, String itemUuid, String comment);
	public List<Entrys> getCommentEntrysByUuid(String uuid);
}
